package com.dc.dao;

import com.dc.po.User;
import org.springframework.data.jpa.repository.JpaRepository;

//绑定要处理的实体类和主键类型
public interface UserRepository extends JpaRepository<User,Long> {
    User findByUsernameAndPassword(String username,String password);
}
